package cn.com.dcsgo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 绑定手机号请求参数
 *
 * @author Dcsgo
 * @since 2025/11/10 13:27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "绑定手机号请求参数")
public class BindPhoneDTO {
    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空或空白字符串")
    @Schema(description = "手机号")
    private String phonenum;

    /**
     * 验证码
     */
    @NotBlank(message = "验证码不能为空或空白字符串")
    @Schema(description = "验证码")
    private String code;
}
